﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public static class Newclass
    {
        public static void assclass(this string[,] student)
        {
            for (int i = 0; i < student.GetLength(0); i++)
            {
                Console.WriteLine("这第" + (i + 1) + "个同学的成绩如下");
                for (int j = 0; j < student.GetLength(1); j++)
                {
                    Console.WriteLine(student[i, j]);

                }
            }

        }
        public static void Input(this string[] input)
        {
            for (int i = 0; i < input.Length; i++)
            {
                Console.WriteLine(input[i]);
            }
        }



    }
}
